export default {
  path: '/content',
  component: () => import('@/views/layout'),
  redirect: '/content_cate',
  meta: { title: '内容管理', icon: '' },
  children: [
    {
      path: '/content_cate',
      name: 'content_cate',
      component: () => import('@/views/content/cate'),
      meta: { title: '分类管理', icon: '' }
    },
    {
      path: '/content_tag',
      name: 'content_tag',
      component: () => import('@/views/content/tag'),
      meta: { title: '标签管理', icon: '' }
    },
    {
      path: '/content_article',
      name: 'content_article',
      component: () => import('@/views/content/article'),
      meta: { title: '文章管理', icon: '' }
    },
    {
      path: '/content_article/add',
      name: 'content_cate',
      component: () => import('@/views/content/article/info'),
      meta: { title: '添加文章', icon: '' },
      hidden: true
    },
    {
      path: '/content_article/edit/:id',
      name: 'content_cate',
      component: () => import('@/views/content/article/info'),
      meta: { title: '修改文章', icon: '' },
      hidden: true
    }
  ]
}
